package com.example.productdataserviceprovider.service.city;


import com.example.productdataserviceprovider.service.search.model.SearchResultModel;

import java.io.File;
import java.util.List;
import java.util.Map;

@Deprecated
public interface CityService {
    public Map<String,String> getCitys(String file);
    public Map<String, String> getProvinces(String file);

    public void writerToFile(Map<String, SearchResultModel> datas, File resultFile);

    public SearchResultModel parseSearchResult(String result, String book, String city);
    public void writerCitysToFile(Map<String, String> citys, String file);

    public Map<String,String> getCitysFromUrl(String url);

    //下面的这三个方法为主要方法
    public Map<String,String> getCitysFromFiles(String resultFile);

    public void analysisCitys(Map<String, String> citys, String keys, String file);

    public void composeFiles(List<File> files, File dest, boolean isDelete);
}
